/* 基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.top-nav {
    background-color: #067bef;
    padding: 10px 0;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu li, .links li {
    list-style-type: none;
    display: inline-block;
    margin-right: 1em;
}

.menu li::after {
    content: '|';
    margin-left: 1em;
}

.menu li:last-child::after {
    content: '';
}
.menu li a{
    color: #f5f3f3;
}
.links li a{
    color: #f5f3f3;
}

.search-form {
    display: flex;
    border: 1px solid white;
    border-radius: 5px;
    overflow: hidden;
}

.search-form input[type="text"] {
    border: none;
    outline: none;
    padding: 0.5em;
    width: 150px;
}

.search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5em;
}

.english-link {
    color: white;
    text-decoration: none;
    margin-left: 1em;
}


.container {
    width: 80%;
    margin: 0 auto;
}

.logo {
    height: 50px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-item {
    position: relative;
    margin-left: 20px;
}

.menu-item a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.menu-item a:hover {
    background-color: #e9ecef;
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

/* 鼠标悬停时显示下拉菜单 */
.menu-item:hover .dropdown-menu {
    display: block;
}

header {
    background-color: #faf6f6;
    color: white;
    padding: 10px 0;
}

header .logo {
    width: 150px;
    height: auto;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: rgb(15, 14, 14);
    text-decoration: none;
    font-size: 18px;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
}

.hero p {
    font-size: 24px;
}

.carousel {
    padding: 10px 0;
}

.carousel .slider {
    max-width: 80%;
    margin: 0 auto;
}

.carousel .slider img {
    width: 100%;
    height: auto;
}

.wuhan-news {
    background-color: #f4f4f4;
    padding: 20px 0;
}

.wuhan-news h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.news-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.news-item {
    width: calc(33% - 20px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.news-item h3 img{
    width: 100%;
    height: auto;
}
.news-item h3 a {
    color: #003366;
    text-decoration: none;
}

.news-item h3 a:hover {
    text-decoration: underline;
}

.news-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-item span {
    font-size: 12px;
    color: #999;
}
.section {
    width: calc(50% - 20px);
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    
}
.section-headers {
    display: flex;
}
.section-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    
}
/* styles.css */
.section-header {
    color: black;
    padding: 10px;
    text-align: center;
    float: left;
    transition: background-color 0.3s ease, color 0.3s ease; /* 添加过渡效果 */
}


.section-header.active {
    background-color: blue; /* 鼠标悬停时的背景颜色 */
    color: white;
}
.section-title {
    font-size: 18px;
    margin-top: 10px;
}
.section-lists {
    display: flex;
    flex-direction: column;
}

.section-list {
    display: none;
    margin-bottom: 10px;
    flex: 1; /* 剩余空间 */
}
.section-list.active {
    display: block;
}
.section-item {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
}
.section-item:last-child {
    border-bottom: none;
}
/* styles.css */
.section-item.hover {
    background-color: #f0f0f0;
    color: #333;
}
.more-link {
    text-align: right;
    margin-top: 10px;
}

.footer-left {
    float: left;
    width: 40%;
}

.footer-middle {
    float: left;
    width: 30%;
    text-align: center;
}

.footer-right {
    float: right;
    width: 30%;
    text-align: center;
}

.qr-code {
    margin: 10px;
}

.footer-right img {
    margin-bottom: 10px;
}

.scroll-to-top-btn {
    display: none; /* 默认隐藏 */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    width: 50px; /* 设置宽度 */
    height: 50px; /* 设置高度 */
}

.scroll-to-top-btn:hover {
    background-color: #3e8e41;
}